﻿using Suntront.DatabaseAccessor;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace AspNetCoreMvcPrj.Models
{
    [Table("BW_WORKFLOWMANAGE")]
    public class BW_WorkFlowManage : IEntity, IEntity<MasterDbContextLocator>, IPrivateEntity
    {
        // Token: 0x1700003C RID: 60
        // (get) Token: 0x06000082 RID: 130 RVA: 0x000024F0 File Offset: 0x000006F0
        // (set) Token: 0x06000083 RID: 131 RVA: 0x000024F8 File Offset: 0x000006F8
        [Key]
        [Column("ID")]
        public string id { get; set; }

        // Token: 0x1700003D RID: 61
        // (get) Token: 0x06000084 RID: 132 RVA: 0x00002501 File Offset: 0x00000701
        // (set) Token: 0x06000085 RID: 133 RVA: 0x00002509 File Offset: 0x00000709
        [Column("CODE")]
        public string code { get; set; }

        // Token: 0x1700003E RID: 62
        // (get) Token: 0x06000086 RID: 134 RVA: 0x00002512 File Offset: 0x00000712
        // (set) Token: 0x06000087 RID: 135 RVA: 0x0000251A File Offset: 0x0000071A
        [Column("NAME")]
        public string name { get; set; }

        // Token: 0x1700003F RID: 63
        // (get) Token: 0x06000088 RID: 136 RVA: 0x00002523 File Offset: 0x00000723
        // (set) Token: 0x06000089 RID: 137 RVA: 0x0000252B File Offset: 0x0000072B
        [Column("WORKFLOWCODE")]
        public string workflowcode { get; set; }

        // Token: 0x17000040 RID: 64
        // (get) Token: 0x0600008A RID: 138 RVA: 0x00002534 File Offset: 0x00000734
        // (set) Token: 0x0600008B RID: 139 RVA: 0x0000253C File Offset: 0x0000073C
        [Column("WORKFLOWNAME")]
        public string workflowname { get; set; }

        // Token: 0x17000041 RID: 65
        // (get) Token: 0x0600008C RID: 140 RVA: 0x00002545 File Offset: 0x00000745
        // (set) Token: 0x0600008D RID: 141 RVA: 0x0000254D File Offset: 0x0000074D
        [Column("REMARK")]       
        public string? remark { get; set; }

        // Token: 0x17000042 RID: 66
        // (get) Token: 0x0600008E RID: 142 RVA: 0x00002556 File Offset: 0x00000756
        // (set) Token: 0x0600008F RID: 143 RVA: 0x0000255E File Offset: 0x0000075E
        [Column("ISENABLE")]
        public int isenable { get; set; }

        // Token: 0x06000090 RID: 144 RVA: 0x00006640 File Offset: 0x00004840
        public void Create()
        {
            this.id = Guid.NewGuid().ToString();
        }

        // Token: 0x06000091 RID: 145 RVA: 0x00002567 File Offset: 0x00000767
        public void Modify(string keyValue)
        {
            this.id = keyValue;
        }
    }
}
